﻿<controls:MetroWindow x:Class="WpfApplication1.Login"
       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="Login" Height="350" Width="525" BorderBrush="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" NonActiveBorderBrush="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" TitleForeground="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}" Background="{DynamicResource {x:Static SystemColors.MenuBrushKey}}" WindowTitleBrush="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}">
    <Grid Background="{DynamicResource {x:Static SystemColors.ScrollBarBrushKey}}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="109*"/>
            <ColumnDefinition Width="16*"/>
            <ColumnDefinition Width="53*"/>
            <ColumnDefinition Width="95*"/>
            <ColumnDefinition Width="230*"/>
        </Grid.ColumnDefinitions>
        <Button x:Name="Aanmelden" Grid.ColumnSpan="2" Content="Aanmelden" Grid.Column="4" HorizontalAlignment="Left" Margin="28,210,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="Aanmelden_Click"/>
        <Label Content="Gebruikersnaam" HorizontalAlignment="Left" Margin="34,112,0,0" VerticalAlignment="Top" Grid.Column="2" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Grid.ColumnSpan="3" Width="109"/>
        <Label Content="Passwoord" HorizontalAlignment="Left" Margin="34,161,0,0" VerticalAlignment="Top" Grid.Column="2" Foreground="White" Width="91" Grid.ColumnSpan="2"/>
        <TextBox x:Name="txtUsername" Grid.ColumnSpan="2" Grid.Column="4" HorizontalAlignment="Left" Height="23" Margin="28,112,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120"/>
        <PasswordBox x:Name="txtPassword" Grid.Column="4" HorizontalAlignment="Left" Margin="28,161,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="120"/>
    </Grid>
</controls:MetroWindow>
